import React from 'react'

import Header from './views/Header'
import Content from './views/Content'
import Blog from './views/Blog'

// React 元素：html 元素，用小写字母
// React 组件：自定义的组件，首字母大写

class App extends React.Component {
  render() {
    return (
      <div>
        <h1>标题</h1>
        <Header title="message">
          <div>一</div>
          <Content msg="一段文本"></Content>
        </Header>
        <Blog></Blog>
      </div>
    )
  }
}

export default App